package com.linkoog.devtools.raw_index;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.project.Project;
import org.jetbrains.annotations.NotNull;

/**
 *   刷新缓存数据
 */
public class PsiRawFileIndexFlashAction extends AnAction {


    @Override
    public void actionPerformed(@NotNull AnActionEvent e) {
        Project project = e.getProject();
        if (project == null) return;
        PsiRawFileIndexManager.rawFileIndexDataScanAndBuild(project);
    }
}
